package com.ddwl.schema.bo.goods.retail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @Author hemiaojun
 * @Date 2020/11/30 16:50
 */
@Getter
@Setter
@ApiModel("店铺商品分类bo")
public class ShopItemCategoryBo {

    @NotNull(message = "分类名称不能为空")
    @ApiModelProperty("分类名称")
    private String name;

    @ApiModelProperty("父级ID")
    private String pid;

    @ApiModelProperty("排序")
    private Integer sort;

}
